package com.ss.android.article.common;

import android.content.Context;
import android.util.AttributeSet;
import android.view.View;
import android.widget.RelativeLayout;

public class PlaceHolderRelativeLayout extends RelativeLayout {
    public PlaceHolderRelativeLayout(Context arg1) {
        super(arg1);
    }

    public PlaceHolderRelativeLayout(Context arg1, AttributeSet arg2) {
        super(arg1, arg2);
    }

    public PlaceHolderRelativeLayout(Context arg1, AttributeSet arg2, int arg3) {
        super(arg1, arg2, arg3);
    }

    protected void onLayout(boolean arg13, int arg14, int arg15, int arg16, int arg17) {
        super.onLayout(arg13, arg14, arg15, arg16, arg17);
        int v0 = this.getWidth() / 3;
        View v1 = this.findViewById(com.ss.android.article.browser.R.id.feed_mask_view_right_image);
        v1.layout(v1.getRight() - v0, v1.getTop(), v1.getRight(), ((int)((((double)v1.getTop())) + (((double)v0)) / 1.52)));
    }
}

